<?php

require_once 'Zend/View/Interface.php';

class Admin_View_Helper_ViewVmsUrl extends Zend_View_Helper_Abstract {

    public function viewVmsUrl($id) {
        return "<a href='" . $this->view->url(array("module" => "admin", "controller" => "virtualmachine", "action" => "lab", "laboratorio" => $id)) . "' ><img src='" . $this->view->baseUrl() . "/images/virtual-machine-icon.png" . "'/></a>";
    }

}

?>
